<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>积分平台</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" type="text/css" href="__INDEX__/mui/css/mui.min.css"/>
		<link rel="stylesheet" type="text/css" href="__INDEX__/css/iconfont.css"/>
		<link rel="stylesheet" type="text/css" href="__INDEX__/css/common.css"/>
		<link rel="stylesheet" type="text/css" href="__INDEX__/css/coreMsgInfo.css"/>
		<script src="__INDEX__/js/lib/font.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body >
	    <header class="mui-bar mui-bar-nav">
	        <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
	        <h1 class="mui-title">{$title}</h1>
	        <span class="mui-pull-right del" dataid="{$id}">删除</span>
	    </header>
	    <div class="mui-content">
	    	<div class="modular">
	    		<div class="title">
	    			<div class="head-portrait mui-pull-left">
		        		<!--<span class="portrait-name">余光</span>-->
						{if $user['portrait']}
						<img src="{:getImg($user['portrait'])}" width="100%" style="border-radius: 50%"/>
						{else}
						<img src="__INDEX__/images/touxiang.jpg" width="100%" style="border-radius: 50%"/>
						{/if}
		        	</div>
		        	<p class="head-name mui-pull-left">{$user['nickname']}</p>
		        	<p class="title-dep mui-pull-right">{$user['departmen_name']}/{$user['position_name']}</p>
	    		</div>
	    	</div>
	    	
	    	<div class="modular scrollCont" id="wrapper">
	    		<div class="cont" id="scroller">
	    			<p>姓名：{$user['nickname']}</p>
	    			<p>性别：{$user['sex']}</p>
	    			<p>手机：{$user['phone']}</p>
	    			<p>邮箱：{$user['email']}</p>
	    			<p>积分：{$user['integral']}</p>
	    			<p>公司：{$user['company_name']}</p>
	    			<p>部门：{$user['departmen_name']}</p>
	    			<p>职位：{$user['position_name']}</p>
	    			<p>获赞数：{$user['fabulous']}</p>
	    			<p>申请职位：{$data['company_name']}/{$data['departmen_name']}/{$data['position_name']}</p>
    			<!--<img src="__INDEX__/images/noInfo.png"/>-->
	    			<!--<img src="__INDEX__/images/noInfo.png"/>-->
	    			<div class="from" style="width: 100%;text-align: center">
	    				<button id="mianshi" dataid="{$id}" style="color: #ffffff;background-color: #3F86ED">发送面试邀请</button>
	    				<button id="bohui" dataid="{$id}" style="color: #ffffff;background-color: #3F86ED">驳回</button>
	    			</div>
	    		</div>
	    	</div>
	    </div>
		<script src="__INDEX__/js/lib/zepto.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/mui/js/mui.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/mui/js/mui.view.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/layer_mobile/layer.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/js/common.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/js/lib/iscroll.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/js/coreMsgInfo.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/js/jquery.3.3.1.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/js/maowenke.js" type="text/javascript" charset="utf-8"></script>
	<script>
		$("#mianshi").on('tap',function () {
		    var $id = $(this).attr('dataid');
//		    console.log($id);
		    $.post("{:url('api/zhiweiHuifu')}",{id:$id,type:'mianshi'},function (data) {
                console.log(data);
				mui.alert(data.msg);
            })
        });
        $("#bohui").on('tap',function () {
            var $id = $(this).attr('dataid');
//            console.log($id);
            $.post("{:url('api/zhiweiHuifu')}",{id:$id,type:'bohui'},function (data) {
                console.log(data);
                mui.alert(data.msg);
            })
//            $.post("{:url('api/zhiweiHuifu')}",{type:bohui},function (data) {
//                console.log(data)
//            });
        });
	</script>
	</body>
</html>
